package com.example.myapplication.update

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

@Serializable
data class ReleaseResponse(
    @SerialName("id")
    val id: Long,
    @SerialName("tag_name")
    val tagName: String,
    @SerialName("name")
    val name: String,
    @SerialName("prerelease")
    val prerelease: Boolean,
    @SerialName("body")
    val body: String,
    @SerialName("created_at")
    val createdAt: String,
    @SerialName("assets")
    val assets: List<Asset>,
)
@Serializable
data class Asset(
    @SerialName("browser_download_url")
    val downloadUrl: String,
    @SerialName("name")
    val name: String
)